#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QVBoxLayout>
#include <QPushButton>
#include <QRadioButton>
#include <QFileDialog>
#include <QMessageBox>
#include <QDebug>
#include <iostream>
#include <cstdlib>
//#############
#include <QProcess>
//#############

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = 0);
    ~Dialog();

private slots:
    void SelectFile();
    void Quit();
    void ShowAll();
    void CreateButtons();
    void CreateRadioButtons();
    void CreateMessageBox();
    void Done();

private:
    QPushButton *qpb_OpenButton;
    QPushButton *qpb_CloseButton;
    QGridLayout *qgl_Grid;
    QStringList qsl_List;
    QFileDialog qfd_FileDialog;
    QString qs_File;
    QRadioButton *qrb_FileRadioButton;
    QRadioButton *qrb_FolderRadioButton;
    QMessageBox *qmb_MsgBoxDelete;
    bool b_RealyWipe;
    QProcess *qp_Wipe;

    //#############
    QString qs_Wipe;
    //#############

};

#endif // DIALOG_H
